<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../config.inc.php");

$_LangPath = "onwager";	//語言檔參數，務必放在最前面
include_once(__Member_Path."/logincheck.php");
include_once(__Language_Path."/selectlanguage_member.php");

$fp = @file(__Membertemplate_Path."/onwager.html");
$fp = implode("", $fp);
$fp = setHTMLCharset($fp);
$fp = str_replace("{Err_Message}", $_strOnWager["Message"], $fp);
$fp = str_replace("{ActionPath}", "wager_insert_quick.php", $fp);
if(strlen($_data["WagerContent"]) > 300)$fp = str_replace("GET", "POST", $fp);


$strTmp = "";
while(list($k, $v) = each($_data)){
	$strTmp .= "<input type=\"hidden\" name=\"".$k."\" value=\"".$v."\">\n";
}
$fp = preg_replace("/<!--@ Hidden Start @\/\/-->.+<!--@ Hidden End @\/\/-->/s", $strTmp, $fp);

//輸出
WebOutputHTML($fp, 1);
?>